<script setup lang="ts">
	import type { IFieldItemData } from '@/types/data';
	import HotelListSub from './Sub.vue';

	interface IProps {
		hotelDatas: Omit<IFieldItemData, "field">[];
	}

	const props = defineProps<IProps>();
</script>

<template>
	<div class="list-wrapper">
		<hotel-list-sub
      v-for="(item, index) of props.hotelDatas"
      :data="item"
      :key="index"
		/>
		<!-- <template v-if="!props.hotelDatas.length">
			<no-data-tip text="暂无内容" />
		</template> -->
	</div>
</template>

<style lang="scss" scoped>
	
</style>